#ifndef STORE_H
#define STORE_H

#include <QWidget>
#include <QPushButton>
#include <QScrollArea>
#include <QLayout>
#include <QStyle>
#include <QListView>
#include <QListWidget>
#include <QListWidgetItem>
#include <QLineEdit>
#include <QLabel>
#include <QAbstractItemView>
#include <QPoint>
#include <QRect>
#include <QEvent>

// 商品选择界面
class Store : public QWidget
{
public:
    Store(QWidget *parent = nullptr);
    ~Store();
    QLineEdit *search;
    QListWidget *storeList;
    void reSizeMainContainer(int height);

private:

};

class Seller: public QPushButton
{
public:
    Seller(QWidget *parent = nullptr);
    ~Seller();
    void setBaseData(QJsonObject *data);
private:
    QLabel *img;
    QLabel *title;
    QLabel *subTitle;
    QLabel *spec;
    QLabel *price;
    QLabel *sell;
    QLabel *unit;
    QLabel *nums;
};
#endif // STORE_H
